/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lu.med.praxiswahl.wahlumed.service.beans.serviceinterface;

import java.util.List;

import lu.med.praxiswahl.wahlumed.model.beans.CodeRatesTBL;

/**
 * 
 * @author Patrick kendzo 
 * Email: pkendzo@msn.com
 */
public interface CodeRateServiceInt
{

    public static final int RET_OPERATION_DONE_PROPERLY = 0;
    public static final int RET_OPERATION_FAILED = 1;

    public void getCodeRate(Long id);

    public CodeRatesTBL getCoderRateByID(Long id);

    public int createCodeRate(String label, String description, double price_A,
	    double price_B);

    public int deleteCodeRate(Long id);

    public String getCodeRateLabel();

    public String getCodeRateDescription();

    public double getCodeRatePrice_A();

    public double getCodeRatePrice_B();
    
    public int getPrioritaet();

    public void setCodeRateLabel(String label);

    public void setCodeRateDescription(String description);

    public void setCodeRatePrice_A(double price_A);

    public void setCodeRatePrice_B(double price_B);
    
    public void setPrioritaet(int prioritaet);
    
    public Long[] getAvailableCodeRatesByID();
    
    public List<CodeRatesTBL> getAvailableCodeRates();
}
